<template>
	<view>
		<!-- #ifdef H5 -->
		
		<cu-custom class="bgLiner" :isBack="true" style="position: fixed;top: 0; width: 100%;z-index: 9999;">
			<block slot="content">{{pageName}}</block>
		</cu-custom>
		<view style="padding-top: 45px;"></view>
		<!-- #endif -->
		
		<!-- #ifdef MP-WEIXIN || APP-PLUS -->
		
		<cu-custom :bgColor="'bgLiner'"  :isBack="true">
			<block slot="content">{{pageName}}</block>
		</cu-custom>
		
		<!-- #endif -->
	</view>
</template>

<script>
	export default {
		name:"header",
		data() {
			return {
				theme: getApp().globalData.theme,
			};
		},
		props: {
			pageName: {
				type: String,
				default: ''
			}
		},
	}
</script>

<style lang="scss">

</style>